package com.labi.designpattern.service.impl;

import com.labi.designpattern.service.HumanService;
import org.springframework.stereotype.Service;

@Service("fservice")
public class FatherServiceImpl implements HumanService {
    @Override
    public String name() {
        System.out.println("father");
        return "father";
    }
}
